<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:if test="${empty param.stall_number}">
ERROR - go back to Welcome.jsp and select a stall.
</c:if>

<!-- Authors: Mareike, David -->

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="style.css" rel="stylesheet" type="text/css" />

<title>Moss Street Market - Choose Stall</title>
</head>

<body>

	<div class="main">
		<div class="header">
			<div class="header_resize">
				<div class="logo">
					<h1>
						<span>MossStreet</span>Market <small>Organic food,
							pottery, clothing ... just for you</small>
					</h1>
				</div>
				<div class="clr"></div>
				<div class="menu_nav">
					<ul>
						<li class="active"><a href="index.html">Home</a></li>
						<li><a href="Login.jsp">Login</a></li>
						<li><a href="index.html">Contact Us</a></li>
						<li><a href="index.html">Impressum</a></li>
					</ul>
				</div>
				<div class="clr"></div>
			</div>
		</div>
		<div class="content">
			<div class="content_resize">
				<div class="mainbar_long">
					<div class="article">
						<h2>
							<span>Please Confirm Booking</span>
						</h2>
						<div class="clr"></div>

						<p>You are about to book the following stall for the date
							indicated. If you wish to book this stall, click Confirm.</p>

						<form action="UpdateBookingServlet" method="post">

							<table width="100%" border="1" bordercolor="#FFFFFF" class="body">
								<tr>
									<td width="5%" bgcolor="#DDDDFF"><b>Stall Number</b></td>
									<td width="15%" bgcolor="#FFFFFF"><b>Stall Type</b></td>
									<td width="12%" bgcolor="#DDDDFF"><b>Length (cm)</b></td>
									<td width="12%" bgcolor="#FFFFFF"><b>Width (cm)</b></td>
									<td width="12%" bgcolor="#DDDDFF"><b>Fee (CDN$)</b></td>
									<td width="20%" bgcolor="#FFFFFF"><b>Date</b></td>
								</tr>
								<tr>
									<td width="5%" bgcolor="#DDDDFF">${stall.stallNumber}</td>
									<td width="15%" bgcolor="#FFFFFF">${stall.stallType}</td>
									<td width="12%" bgcolor="#DDDDFF">${stall.length}</td>
									<td width="12%" bgcolor="#FFFFFF">${stall.width}</td>
									<td width="12%" bgcolor="#DDDDFF">${stall.fee}</td>
									<td width="20%" bgcolor="#FFFFFF">${marketday}</td>
								</tr>
								<c:set var="marketday" value="${marketday}" scope="session" />
								<c:set var="stall" value="${stall}" scope="session" />
							</table>
							<br> <input type="submit" value="Confirm"><br>
						</form>

						<form method="post" action="Welcome.jsp">
							<hr>
							Otherwise click on Cancel and return to the Welcome page.<br>
							<input type="hidden" name="stallnotavailable" value="false" /> <input
								type="submit" name="Select New Stall" value="Cancel"><br>
							<br>
						</form>
						</p>

					</div>
				</div>

				<div class="clr"></div>
			</div>
		</div>

		<div class="footer">
			<div class="footer_resize">
				<p class="lf">
					Copyright &copy; 2011 <a href="#">moSSSolutions</a> - All Rights
					Reserved
				</p>
				<p class="rf">
					Your web-based application provided by <a
						href="http://www.mosssolutions.wordpress.com">moSSSolutions</a>
				</p>
				<div class="clr"></div>
			</div>
		</div>
	</div>
</body>
</html>